
package devbureau.fstore.common;

import java.util.List;

public interface CustomerRegistry {
    public Integer registerCustomer(Customer customer) throws Exception;
    public List<CustomerData> getActiveCustomers() throws Exception;
    public List<CustomerData> getAllCustomers() throws Exception;
    public void updateCustomer(Integer customerId,Customer customer) throws Exception;
    public CustomerData getCustomerById(Integer customerId) throws Exception;
    public void activateCustomer(Integer customerId,boolean state) throws Exception;
}
